package com.lgx.mobile.dao;

import java.util.List;
import com.lgx.common.exception.DataException;
import com.lgx.mobile.entity.Gift;

/**
 * 
 * @author xuyichen
 *
 */
public interface IGiftDao  {
	public Gift createGift(Gift gift) throws DataException;
	public Gift updateGift(Gift gift) throws DataException;
	public void deleteGift(Gift gift) throws DataException;
	public void deleteGiftById(long id) throws DataException;
	public Gift findGiftById(long id);
	public List<Gift> findGiftList();
}